package com.gskinner.screen {
	
	import flash.events.Event;
	
	public class ScreenEdgeEvent extends Event {
		
		public static const INSIDE_TOLERANCE:String = "insideTolerance";
		public static const OUTSIDE_TOLERANCE:String = "outsideTolerance";
		public static const SNAP:String = "snap";
		public static const ENABLE:String = 'enable';
		public static const DISABLE:String = 'disable';
		
		public var snapX:int;
		public var snapSide:String;
		public var screenHeight:Number;
		
		public function ScreenEdgeEvent(p_type:String, p_snapSide:String = null, p_snapX:int = -1, screenHeight:Number = NaN) {
			super(p_type);
			
			snapSide = p_snapSide;
			snapX = p_snapX;
			this.screenHeight = screenHeight;
		}
		
		override public function clone():Event { return new ScreenEdgeEvent(type, snapSide, snapX, screenHeight); }
	}
}
